package com.example.vote.flow.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@Schema(description = "投票选项视图对象Class")
public class VoteOptionFullVO implements Serializable {

    @Schema(description = "投票选项ID")
    private Long id;

    @Schema(description = "所属投票主题的ID")
    private Long voteTopicId;

    @Schema(description = "选项编号")
    private Integer optionOrder;

    @Schema(description = "选项图片的URL，如果allow_option_image为0，则该字段为空")
    private String imageUrl;

    @Schema(description = "选项内容")
    private String content;

    @Schema(description = "累计票数（冗余）")
    private Integer recordCount;

    @Schema(description = "投票记录列表")
    private List<VoteRecordVO> recordList;

}